package com.jk.vehicle.mini.entity;

import com.jk.vehicle.core.entity.BaseEntity;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.*;
import lombok.Data;

@Data
public class Product extends BaseEntity {
    /**
     * 产品名称
     */
    private String name;

    /**
     * 产品单价(元)
     */
    private BigDecimal price;

    /**
     * 厂家ID
     */
    @Column(name = "corp_id")
    private Long corpId;

    /**
     * 商品图对象，多个逗号分隔
     */
    private String imgs;

    /**
     * 商品预览地址
     */
    @Column(name = "img_uris")
    private String imgUris;

    /**
     * 创建时间
     */
    @Column(name = "create_date")
    private Date createDate;

    /**
     * 创建人ID
     */
    @Column(name = "create_user")
    private Long createUser;

    /**
     * 更新时间
     */
    @Column(name = "update_date")
    private Date updateDate;

    /**
     * 更新人id
     */
    @Column(name = "update_user")
    private Long updateUser;
}